/*
 *  $Id: DeathSymphony.cs 1051 2010-05-18 22:10:41Z thenn.erannor $
 *	This file is a part of Ragima CCG.
 *	(C) 2008 Ragima development group.
 *
 *	Licensed under the terms of the GNU GPL License version 2.
 *
 */

namespace Ragima.Cards001.Darkness.Spells {
    public class DeathSymphony: SpellCard {
        public DeathSymphony(): base("001_d_s_death_symphony") {
            Level = CompleteLevel.ReadyForTest;
            Element = ElementType.Darkness;
            Value = 100;
            AddManaCost(ElementType.Darkness, 3);
        }

        public override void DoAction(TargetArgs args) {
            foreach (Creature creature in args.Player.GetCreatures())
                if (creature.IsUndead && creature.Disabled)
                    creature.State = CreatureState.Untapped;
        }
    }
}
